
<template>
	<view class="" style="height: 100%;">
		<getdatascrollview ref="getdatascrollview" :api="api" :seardata="querydata" :onPullingfalge="false" :customStyle="scrollviewstyle">
			<template v-slot="{ list }">
				<view>
					<!-- {{list}} -->
					<listcardorder v-for="item in list" :item="item"></listcardorder>
				</view>
			</template>
		</getdatascrollview>
	</view>
</template>

<script>
	import {
		getReleasePage
	} from "@/api/release.js"
	import listcardorder from "./listcardorder.vue"
	export default {
		components: {
			listcardorder,
		},
		props: {
			querydata: {
				type: Object,
				default: () => {
					return {}
				}
			},

		},
		data() {
			return {
				scrollviewstyle:{
					height:'100%'
				}
			}
		},
		methods: {
			init() {
				this.$refs.getdatascrollview.onRefresh()
				console.log(123456);
			},
			async api(reqdata) {
				let data = await getReleasePage({
					...reqdata,
				})
				
				return data
			}
		}
	}
</script>

<style>

</style>